package com.qf.zyh.dao;

import com.qf.zyh.entity.User;

import java.util.List;

public interface UserDao {
    List<User> selectAll();

    User selectName(String name);

    int addUser(User user);

    User getUserByEmailAndCode(String c, String e);

    int updateUserStatus(int activate, int uid);
}
